﻿#ifndef CPoolTaskRpt_H
#define CPoolTaskRpt_H
/********************************************************************************
** @ Date:2025/09/05
** @ Author: HanJiaXin
** @ Description:导出报表线程池类
** @ Version:1.0.0
** @ ClassName:CPoolTaskRpt
** @ Fun:
********************************************************************************/
#include <QObject>
#include <QRunnable>
#include "CPdfRptBase.h"

class CPoolTaskRpt : public QObject, public QRunnable
{
	Q_OBJECT

public:
	CPoolTaskRpt();
	~CPoolTaskRpt();

	void setData(CPdfRptExtraAiDataInfo &restAiDataInfo, CPdfRptBase *pRptBase);//设置数据

	void run() override;

private:
	CAllPdfRptDataInfo *m_pAllDataInfo = nullptr;//数据合集 自己new和释放
	CPdfRptBase *m_pRptBase = nullptr;//业务类 传入的指针
};

#endif